document.getElementsByName("zhucebtn").addEventListenner('click',function(){
    var ti = document.querySelector('.ti');
    var loginbtn=document.getElementsByClassName('loginbtn');
    var zhucebtn=document.getElementsByClassName('zhuzebtn');
    if(ti.innerText === 'login'){
        ti.innerText='Register';
        loginbtn.value='登录';
        passwordbtn.innerText='qi'
    }
})